Check whether the field input contains a number with no exponent, mandatory integer and fraction and optional sign
echo str_replace("world","Peter","Hello world!");